POV-Ray : Newsgroups : povray.general : Slightly faster VRand_On/In_Sphere() : Re: Slightly faster VRand_On/In_Sphere() Server Time
4 Aug 2024 02:22:41 EDT (-0400)
  Re: Slightly faster VRand_On/In_Sphere()  
From: Warp
Date: 7 Nov 2003 18:58:00
Message: <3fac3188@news.povray.org>
"JC (Exether)" <no### [at] spamfr> wrote:
> I think we can agree that if Frank's VRand_On_Sphere is uniform on the 
> sphere then VRand_In_Sphere is uniform within the sphere.

  Well, I think this is not automatic, but needs proof. :)

  (Btw, has anyone proven mathematically that the current official
macros produce even distributions?)

-- 
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.